<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      padding: 0;
      margin: 0;
    }
    body {
      width: 100vw;
      height: 100vh;
      background-color: orange;
    }
  </style>
</head>
<body>
  <!-- vw/vh是css3新增单位，兼容IE8及以上 -->
  <!-- echart中的文字不支持vw、vh，只能使用px -->
</body>
</html>